package waal.pc.frontend.timer;

import java.util.TimerTask;

import waal.pc.frontend.Surface;

public class TileUpdater extends TimerTask {

	private Surface surface;
	public TileUpdater(Surface surface) {
		this.surface = surface;
	}
	
	@Override
	public void run() {
		this.surface.updateTiles();
	}

}
